//如果用uni请求
import http from '@/common/uni.interface.js';
//如果是用uview请求,就用下面这句
//const http = uni.$u.http

//获取用户信息
export function getUserInfo(params){
	return http.get('/getInfo', params)
}

//获取风险率
export function getRisk(params){
	return http.get('/goods/userFund/getRiskRate', params)
}

//获取用户资金信息
export function getUserCapital(params){
	return http.get('/goods/userFund/list', params)
}

//获取用户资金流水列表
export function getUserBill(params){
	return http.get('/goods/capitalFlow/list', params)
}

//获取用户订单列表
export function getUserOrder(params){
	return http.get('/goods/order/list', params)
}

//获取用户订单列表
export function getCurrentPrice(params){
	return http.get('/goods/price/QueryQuoteDay', params)
}
